package com.syl.starter.itools.base.constants;

/**
 * @author syl
 * @create 2018-10-15 10:55
 **/
public class DecimalConstant {

    /**
     * 保留2位小数
     */
    public static final String TWO_DECIMAL = "#.##";
    /**
     * 保留2位小数 不足的补0
     */
    public static final String RETAIN_TWO_DECIMAL = "0.00";
    /**
     * 保留2位小数并转换为百分比
     */
    public static final String PERCENTAGE_TWO_DECIMAL = "#.##%";
    /**
     * 保留2位小数并转换为百分比 不足的补0
     */
    public static final String PERCENTAGE_RETAIN_TWO_DECIMAL = "0.00%";
}
